g++ main.cpp RPLidar.cpp hardwareserial.cpp -I. -o test